package no.saiboten.tourbuilder.bracket;

import java.util.ArrayList;
import java.util.List;

public class Round {
	private List<Match> matches;

	private boolean finished;

	public List<Match> getMatches() {
		return matches;
	}

	@Override
	public String toString() {
		return "Round [matches=" + matches + ", finished=" + finished + "]";
	}

	public void addMatche(Match match) {
		this.matches.add(match);
	}

	public boolean isFinished() {
		return finished;
	}

	public void setFinished(boolean finished) {
		this.finished = finished;
	}

	public Round() {
		finished = false;
		matches = new ArrayList<Match>();
	}
}
